package com.wzdigit.wms.basic.domain.inventory;

import com.baomidou.mybatisplus.annotation.*;
import com.wzdigit.framework.orm.model.BasicDomain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author Any
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("WMS_SN_SCAN_LOG")
@KeySequence(value = "WMS_SN_SCAN_LOG_SEQ", clazz = Integer.class)
public class SnScanLog extends BasicDomain {
    private static final long serialVersionUID = 1L;
    /**
     * SN_SCAN_LOG_ID
     */
    @ApiModelProperty(value = "SN_SCAN_LOG_ID")
    @TableId(value = "SN_SCAN_LOG_ID", type = IdType.INPUT)
    private Integer snScanLogId;
    /**
     * 货品SN
     */
    @ApiModelProperty(value = "货品SN")
    @TableField(value = "SN")
    private String sn;
    /**
     * 操作代码
     */
    @ApiModelProperty(value = "操作代码")
    @TableField(value = "OP_CODE")
    private String opCode;
    /**
     * 错误信息
     */
    @ApiModelProperty(value = "错误信息")
    @TableField(value = "ERR_MSG")
    private String errMsg;
}
